﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Roteirizacao.Master" AutoEventWireup="true" CodeBehind="Processamento.aspx.cs" Inherits="Roteirização.Processamento" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentRoteirizacao" runat="server">
<div id="site_content">
      <div class="content">
        <h2>Processamento</h2>
        <form id="Form1" action="#" method="post" runat="server">
        <asp:UpdatePanel ID="UpdPanel" runat="server">
        <ContentTemplate>
            <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server" EnableScriptGlobalization="true" EnableScriptLocalization="true">
            </asp:ToolkitScriptManager>       
                         
          <div class="form_settings">
            <p><span>Data Processamento:</span><asp:TextBox id="txtEntrega" runat="server" onkeydown="javascript:return false;"></asp:TextBox>
            <asp:CalendarExtender ID="CalendarExtender31" runat="server" TargetControlID="txtEntrega" Format="dd/MM/yyyy"/>
            <p style="padding-top: 15px"><span>&nbsp;</span><asp:Button CssClass="submit" ID="btnProcessa" Text="Processar" runat="server" onclick="btnProcessa_Click"/></p>
          </div>
          <div>
            <center>
            <br />
                <asp:GridView ID="Gridv" runat="server" ShowHeaderWhenEmpty="True" runat="server">
                </asp:GridView>
            <br />
            </center>
        </div>        

                    <asp:ModalPopupExtender ID="ModalPopupExtenderMSG" runat="server" 
                            BehaviorID="popup" 
                            TargetControlID="btnProcessa" 
                            PopupControlID="pnlPopup" 
                            BackgroundCssClass="modalBackground" 
                            OkControlID="btnCancel"
                            DropShadow="true" />   
        <asp:Panel ID="pnlPopup" runat="server" Visible="false" CssClass="site" style="display:none; width:500px;">
            <div class="container" style="width:100%">
                <div class="header">
                    <asp:Label ID="Label7" runat="server" CssClass="msg" Text="Miranda Transportes" />
                    <asp:LinkButton ID="LinkButton2" runat="server" CssClass="close" OnClientClick="$find('popup').hide(); return false;" />
                </div>
                <div class="site" style="width:500px;height:100px">
                    <table cellpadding="10">
                        <tr>
                            <td>
                                <asp:Image ID="imgAviso" runat="server" ImageUrl="~/Images/bullet.png" />
                            </td>

                            <td>
                                <asp:Label ID="Label8" runat="server" CssClass="msg" Text="" />
                            </td>
                        </tr>
                    </table>
                </div>
                <div class="site" style="width:500px">
                    <table>
                        <tr>
                            <td>
                                <asp:Button ID="btnCancel" runat="server" Text="OK" CssClass="buttonA" OnClientClick="" />
                            </td>
                        </tr>
                    </table>
                </div>                                                
            </div>
        </asp:Panel>          
                    </ContentTemplate>
    </asp:UpdatePanel>  
        </form>
        
      </div>
    </div>
</asp:Content>
